package com.zhentao.mapper;

import com.zhentao.model.common.article.dto.ArticleHomeDto;
import com.zhentao.model.common.dtos.ApArticle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author EWEWW
* @description 针对表【ap_article(文章信息表，存储已发布的文章)】的数据库操作Mapper
* @createDate 2024-06-02 20:45:03
* @Entity com.zhentao.dtos.ApArticle
*/
@Mapper
public interface ApArticleMapper extends BaseMapper<ApArticle> {

    List<ApArticle> loadArticleList(@Param("dto") ArticleHomeDto articleHomeDto,@Param("type") Integer type);
}




